package elektra.plugin.environment;

import com.google.inject.Guice;

import elektra.plugin.core.PluginModule;

public class PluginEnvironmentFactory {
     

	
     public static IPluginEnvironment createPluginEnvironment(PluginModule module){
		 return Guice.createInjector(module).getInstance(IPluginEnvironment.class);
     }

     public static IPluginEnvironment createPluginEnvironment(){
    	 return createPluginEnvironment(new BaseModule());
     }
     
}
